﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UserControlListaContas.ascx.cs" Inherits="TrabalhoWeb.UserControlListaContas" %>

<style type="text/css">
    .lista1 
    {
        float:left;
    }
    .lista2
    {
        float:right;
        height: 218px;
    }
    
</style>

 <h2>Nome do Aluno</h2>
 <div class= "lista1" >
 <h3 style="width: 469px">Lista de Contas</h3>
 
 <asp:GridView ID="grvListaContas" runat="server" 
     Width="472px" AutoGenerateColumns="False" 
         onselectedindexchanged="grvListaContas_SelectedIndexChanged">
    <Columns>
        <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" 
            ReadOnly="True" SortExpression="ID" />
        <asp:BoundField DataField="NOME" HeaderText="NOME" SortExpression="NOME" />
        <asp:BoundField DataField="DESCRICAO" HeaderText="DESCRIÇÃO" SortExpression="DESCRICAO" />
        
    </Columns>
</asp:GridView>



    

</div>

 <div class="lista2">
 <br />
 <br />
 <h3>Contas</h3>

 <asp:GridView ID="grvContas" runat= "server" style="margin-left: 0px" 
         Width="514px">

</asp:GridView>
    
     </div>
<br />
  <br />
